package com.example.shushiyunsst.fragment.main.transaction.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * 交易方式（买，卖）
 * */
public class TransIndexWayBean implements Serializable {


    /**
     * txId : 7
     * uid : 7
     * account : 17680246410
     * txNums : 20000
     * txPrice : 1
     * txNumsDeal : 0
     * txTotalPrice : 20000
     * txType : 1
     * createTime : 2020-11-02 09:17:45
     * txStatus : 0
     * tokenType : CML
     * txSort : 2
     * parTxId : 0
     */

    @JSONField(name = "txId")
    private int txId;

    @JSONField(name = "uid")
    private int uid;

    @JSONField(name = "account")
    private String account;

    @JSONField(name = "txNums")
    private double txNums;

    @JSONField(name = "txPrice")
    private double txPrice;

    @JSONField(name = "txNumsDeal")
    private double txNumsDeal;

    @JSONField(name = "txTotalPrice")
    private double txTotalPrice;

    //1-买 ， 2-卖
    @JSONField(name = "txType")
    private int txType;

    @JSONField(name = "createTime")
    private String createTime;

    @JSONField(name = "txStatus")
    private int txStatus;

    @JSONField(name = "tokenType")
    private String tokenType;

    @JSONField(name = "txSort")
    private int txSort;

    @JSONField(name = "parTxId")
    private int parTxId;

    public int getTxId() {
        return txId;
    }

    public void setTxId(int txId) {
        this.txId = txId;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public double getTxNums() {
        return txNums;
    }

    public void setTxNums(double txNums) {
        this.txNums = txNums;
    }

    public double getTxPrice() {
        return txPrice;
    }

    public void setTxPrice(double txPrice) {
        this.txPrice = txPrice;
    }

    public double getTxNumsDeal() {
        return txNumsDeal;
    }

    public void setTxNumsDeal(double txNumsDeal) {
        this.txNumsDeal = txNumsDeal;
    }

    public double getTxTotalPrice() {
        return txTotalPrice;
    }

    public void setTxTotalPrice(double txTotalPrice) {
        this.txTotalPrice = txTotalPrice;
    }

    public int getTxType() {
        return txType;
    }

    public void setTxType(int txType) {
        this.txType = txType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getTxStatus() {
        return txStatus;
    }

    public void setTxStatus(int txStatus) {
        this.txStatus = txStatus;
    }

    public String getTokenType() {
        return tokenType;
    }

    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }

    public int getTxSort() {
        return txSort;
    }

    public void setTxSort(int txSort) {
        this.txSort = txSort;
    }

    public int getParTxId() {
        return parTxId;
    }

    public void setParTxId(int parTxId) {
        this.parTxId = parTxId;
    }
}
